perm filename EFSCL.C[11,HE] blob sn#688198 filedate 1982-12-06 generic text, type T, neo UTF8
/* LINTLIBRARY */
/*
 * efsendclose.c
 *
 * EFTP Package
 *
 * EfSendClose -- close an eftp channel after sending a file
 *
 * Jeffrey Mogul @ Stanford	12 February 1981
 */

#include <eftp.h>
#include <pupstatus.h>

EfSendClose(Efchan)
struct EftpChan *Efchan;		/* Eftp channel to be closed */
{	/* */
	if (Efchan->ef_mode&EFTPM_SEND == 0) return(EFTP_ERROR);

	pupclose(&Efchan->pchan);

	return(OK);
}